home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4275 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  36 lines

  1. Path: dispatch.news.demon.net!demon!summat.demon.co.uk
  2. From: mike@summat.demon.co.uk (Mike Dodd)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Size of screen in millimeters?
  5. Date: Mon, 26 Feb 1996 20:00:26 GMT
  6. Message-ID: <783.6630T1104T2697@summat.demon.co.uk>
  7. References: <d93-hyo.824566467@nada.kth.se> <cav6y*gXf@yaps.rhein.de>
  8. NNTP-Posting-Host: summat.demon.co.uk
  9. X-NNTP-Posting-Host: summat.demon.co.uk
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12.  
  13. Mike staggered back from the pub and slurred to Arno Eigenwillig:
  14.  
  15.  
  16.  AE> In article <d93-hyo.824566467@nada.kth.se>, Hσkan Younes writes:
  17.  
  18. >> Is it possible to get the size of a screen in millimeters
  19. >> by examining some system structures?
  20.  
  21.  AE> No, you have to ask the user.
  22.  
  23. Exactly.
  24.  
  25. At the moment I'm writing a piece of code that will, by default set the monitor
  26. resolution to 80 ╫ 72 DPI (that's what my monitor is), but will allow the user
  27. to modify these to whatever (sensible) figures he chooses. As a side-effect
  28. of this, once you get your software to handle physical sizing attributes it
  29. becomes very easy to add scaling/zooming functions, and dumping a rastport to a
  30. printer is very easy : just re-draw in a temporary rastport with the X,Y DPI for
  31. the printer.
  32.  
  33. ---
  34. Mike
  35.  
  36.